const router = require('koa-router')()
const disease = require('../controller/disease')

router.post('/addDisease',disease.addDisease)
router.get('/getAllDisease',disease.getAllDisease)
router.post('/updDisease',disease.updDisease)
router.get('/delDisease',disease.delDisease)
router.get('/getDiseaseByType',disease.getDiseaseByType)
router.get('/getDiseaseDetail',disease.getDiseaseDetail)
router.get('/getMostPV',disease.getMostPV)

module.exports = router